package com.huse.pigservice.service;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.huse.pigservice.entity.Pig;
import com.baomidou.mybatisplus.extension.service.IService;
import com.huse.pigservice.entity.PigType;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xinxin
 * @since 2021-05-26
 */
public interface PigService extends IService<Pig> {

    Page<Pig> getPage(Page<Pig> page,  Wrapper wapper);

    List<PigType> getPigTypeList();

    List<Pig> getPigTree();
}
